<style>
  .layui-form-item .layui-input-inline {
    width: 500px;
  }
  [disabled] {
    cursor: not-allowed;
  }
  input {
    autocomplete:off;
  }
</style>

<input class="layui-input hidden" type="text" value="{$u.id}" name="id">
<div class="layui-form" style="margin-top:15px;">

    <div class="layui-form-item">
      <label class="layui-form-label">会员账号</label>
    <div class="layui-input-inline">
      <input class="layui-input" type="text" placeholder="账号ID：100089" name="uid" value="{$u.uid}" disabled>
    </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">会员昵称</label>
      <div class="layui-input-inline">
        <input class="layui-input" type="text"  placeholder="请输入昵称" name="username" value="{$u.username}" disabled>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">会员手机号</label>
      <div class="layui-input-inline">
        <input class="layui-input" type="number" placeholder="请输入手机号码" name="phone" value="{$u.phone}" disabled>
      </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">用户状态</label>
        <div class="layui-input-inline">
          {if $u.status==0}
            <input checked type="radio" name="status" value="0" title="允许登录">
            <input type="radio" name="status" value="1" title="禁止登录">
          {else /}
            <input type="radio" name="status" value="0" title="允许登录">
            <input checked type="radio" name="status" value="1" title="禁止登录">
          {/if}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户权限</label>
        <div class="layui-input-inline">
            <input {if $u.type == 0}checked{/if} type="radio" name="type" value="0" title="普通账号">
            <input {if $u.type == 1}checked{/if} type="radio" name="type" value="1" title="透视账号">
            <input {if $u.type == 2}checked{/if} type="radio" name="type" value="2" title="好牌账号">
            <input {if $u.type == 3}checked{/if} type="radio" name="type" value="3" title="全部功能">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">账户余额</label>
        <div class="layui-input-inline">
          <input class="layui-input" type="number" placeholder="请输入账户余额" name="balance" value="{$u.balance}">
        </div>
     </div>
    
    <div class="layui-form-item">
        <label class="layui-form-label">密码初始化</label>
        <div class="layui-input-inline">
          <input class="layui-input" type="password" placeholder="请输入初始化密码" name="password" value="{$u.password}">
        </div>
     </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn btn btn-primary ajax-post" autocomplete="off">
            保存
            </button>
            <a class="layui-btn layui-btn-primary" href="JavaScript:history.go(-1)">返回</a>
        </div>
    </div>
</div>
